package cultu.supplier.dao;

import cultu.framework.dao.BaseDAO;
import cultu.supplier.message.Product;
import cultu.supplier.message.ProductCriteria;
import cultu.supplier.message.ProductList;
import cultu.supplier.message.ProductScenario;

/**
 * The Interface ProductDAO.
 */
public interface ProductDAO extends BaseDAO<Product, ProductCriteria, ProductScenario>
{
  
  /**
   * Get list of product native.
   * @param pCriteria the criteria.
   * @param pScenario the scenario.
   * @return
   */
  public ProductList findNative(ProductCriteria pCriteria, ProductScenario pScenario);
  
  /**
   * increaseBuytimes
   * @param productId
   */
  public void increaseBuytimes(final Long productId);
  
  /**
   * increaseConsultationtimes
   * @param productId
   */
  public void increaseConsultationtimes(final Long productId);
}
